package spring.cloud.tasks;

import spring.cloud.tasks.common.zookeeper.ZooKeeperManager;

import java.util.concurrent.locks.ReentrantReadWriteLock;

public class Worker {
    public ZooKeeperManager zooKeeperManager;
    public String pongpongErrorMessage;
    public ReentrantReadWriteLock.ReadLock lock;
    public String initThreadErrorMessage;

    public void reStart() throws Exception {
    }

    public void pongpong() throws Exception {
    }

    public void initTasksAfterZooKeeperConnected() throws Exception {
    }
}
